package com.moliku.insurance.model.entity.cpic;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.io.Serializable;

/**
 * @Description: 太平洋保险--退保批单基本信息节点
 * @Author: yws
 * @Date: 2021/3/9 17:13
 * XmlAccessorType  绑定字段到XML
 * XmlRootElement   XML文件中的根标识
 * XmlType  控制JAXB绑定类中属性和字段的排序
 */
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "PolicyCancellationBaseInfo")
@XmlType(propOrder = {
        "policyNo",
        "applicationReason",
        "billType",
})
public class PolicyCancellationBaseInfo implements Serializable {

    private static final long serialVersionUID = -7260759599122326715L;
    /**
     * 保单号
     */
    private String policyNo;

    /**
     * 申请原因
     */
    private String applicationReason;

    /**
     * 打印方式（0 电子保单,1 纸质保单，默认 0，特殊场景使用纸质保单）
     */
    private String billType;
}
